package com.generator.sysManage.moduleManage.service;

import com.generator.sysManage.moduleManage.pojo.Module;
import com.generator.sysManage.positionManage.pojo.JMJob;
import com.generator.sysManage.sectionManage.pojo.DMDept;
import com.generator.util.PageModel;
import org.springframework.ui.Model;

import java.util.List;

public interface IModuleManageService {

    //获取模块信息
    public List<Module> getModuleListByJMJob(Module module);

    //查询模块信息(分页)
    public PageModel<Module> getModuleListByFY(Module module,PageModel<Module> pageModel);

    //添加模块
    public Integer addModule(Module module);

    //修改模块
    public Integer updateModule(Module module);

    //修改模块状态(0-正常，1禁用)
    public String  updateState(Module module, Model model);


}
